package io.adrainty.bolee.insurance.hystrix;

import io.adrainty.bolee.framework.commons.basic.ResponseCode;
import io.adrainty.bolee.framework.commons.basic.ResultDTO;
import io.adrainty.bolee.framework.commons.utils.ResultDTOUtil;
import io.adrainty.bolee.insurance.feign.IWarrantyFeign;
import org.springframework.stereotype.Component;

/**
 * <p>WarrantyFeignHystrix</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description WarrantyFeignHystrix
 * @since 2025/8/26 13:52:34
 */

@Component
public class WarrantyFeignHystrix implements IWarrantyFeign {

    @Override
    public ResultDTO<Boolean> cleanWarranty(String warrantyNo) {
        return ResultDTOUtil.error(ResponseCode.INTERFACE_HYSTRIX);
    }

}
